<?php
	include_once('class/iframe.php');
	include(ROOTPATH .'include'. DS .'protect.php');
	//include(ROOTPATH .'include'. DS .'checkUserLogin.php'); 
	$title = '上传';
	include "header.php"; 
	
?>

<script type="text/javascript">var proxyIframeSrc = '<?php echo $proxyIframeSrc ?>';</script>
<script type="text/javascript" src="<?php echo JSLAB_PATH;?>iframeSize.js"></script>

<script type="text/javascript" src="<?php echo JS_PATH;?>imagesResize.js"></script>
<script type="text/javascript" src="<?php echo JS_PATH;?>upload.js"></script>
<script type="text/javascript" src="<?php echo WEB_ROOT_PATH;?>upload/scripts/swfobject.js"></script>
<script type="text/javascript" src="<?php echo WEB_ROOT_PATH;?>upload/scripts/jquery.upload.min.js"></script>

<link rel="stylesheet" href="jCrop/css/jquery.Jcrop.css" type="text/css" />
<script src="jCrop/js/jquery.Jcrop.min.js"></script>
<script language="Javascript" src="jCrop/js/do.js"></script>

<script type="text/javascript">
var Tag_Max_Length = <?php echo Tag_Max_Length ; ?>;
var Tag_Max_Num = <?php echo Tag_Max_Num;?>
</script>

</head>
<body>

<div id="upload">
<form action="<?php echo WEB_ROOT_PATH;?>?option=uploadAction&type=action" method="post" enctype="multipart/form-data" name="uploadForm" id="uploadForm">
<ul>
<li><label>名称:</label><input id="fileName" name="fileName" type="text" /></li>
<?php getTagMenu(); ?>
<li class="tagMenu"><label ids="3">自定义:</label>
<div id="tagList"></div>
<input id="customizeTag" name="customizeTag" type="text" /><input type="button" id="addTag" value="增加" /></li>
<hr />

 

<li><label>缩略图:</label>
<div id="cropbox"></div><div id="preview"></div><div id="previewCrop"><input action="jCrop/?option=cropDo&type=crop" path="tmp" type="submit" id="Photo_Crop_Submit" value="裁剪" /></div><div id="mediaThumbPhoto"></div>
<div id="mediaThumbQueue"></div>
<input type="hidden" id="x" name="x" />
<input type="hidden" id="y" name="y" />
<input type="hidden" id="w" name="w" />
<input type="hidden" id="h" name="h" />  
<input type="file" name="mediaThumb" id="mediaThumb" /></li>

<hr />
<li><label>列表:</label><div id="fileQueue"></div></li>
<li><label>文件:</label><input type="file" name="mediaFile" id="mediaFile" /></li>

<hr />
<li><label>文件截图:</label><div id="mediaFileSourceQueue"></div></li>
<li><label>文件截图:</label><input type="file" name="mediaFileSource" id="mediaFileSource" /></li>

<hr />

<hr />
<li><label>描述:</label><textarea cols="50" rows="8" id="description" name="description"></textarea></li>
<li><input name="" type="submit" value="<?php echo lang_submit;?>" class="submit" /></li>
</ul>
</form>
</div><!--#upload-->
</body>
</html>
